﻿using System;
//
using DbFrame.Class;

namespace Models
{
    /// <summary>
    /// 角色 Role_ID, Role_Num, Role_Name, Role_Remark, Role_CreateTime
    /// </summary>
    [Table("Sys_Role")]
    public class Sys_RoleM : BaseEntity
    {
        public Sys_RoleM()
        {
            this.AddIgnore(item => new { item.Role_CreateTime });
        }
        
        [Field("ID", FieldType = typeof(Guid?), IsPrimaryKey = true)]
        public Guid? Role_ID { get; set; }

        [Field("编号")]
        public string Role_Num { get; set; }

        [Field("角色名")]
        public string Role_Name { get; set; }

        [Field("备注")]
        public string Role_Remark { get; set; }

        [Field("创建时间")]
        public DateTime? Role_CreateTime { get; set; }
        
    }
}
